package cqrtplm.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@Data
@Entity
@Table(name = "RT_COM_SUPPLIER")
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "供应商信息实体类")
public class RtComSupplierDO {

    @Id
    @Column(name = "ID", length = 50, nullable = false)
    @ApiModelProperty(value = "主键ID")
    private String id;

    @Column(name = "SUPPLIERCODE", length = 50)
    @ApiModelProperty(value = "供应商编码")
    private String supplierCode;

    @Column(name = "SHORTNAME", length = 50)
    @ApiModelProperty(value = "供应商简称")
    private String shortName;

    @Column(name = "FULLNAME", length = 255)
    @ApiModelProperty(value = "供应商全称")
    private String fullName;

    @Column(name = "STATE", length = 10)
    @ApiModelProperty(value = "状态(是否有效)")
    private String state;
}